{% load static %}
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>showteacher</title>
</head>
<body>


姓名:{{ teacher.name }}
<br>
职务: {{ teacher.get_jobtype_display }}

{#{% if teacher.jobtype == 0 %}#}
{#    讲师#}
{#{% elif teacher.jobtype == 1 %}#}
{#    导员#}
{#{% endif %}#}

<br>
{#薪资:{{ teacher.salary }}#}
{#<br>#}
联系方式:{{ teacher.phone }}
<br>
{#头像: <img src="/static/img/{{ teacher.icon }}" alt="暂无图片" height="200px">#}
头像: <img src="{% static '/img/' %}{{ teacher.icon }}" alt="暂无图片" height="200px">
<br>
简介:{{ teacher.introduction }}
</body>
</html>